package com.dormitory.manage.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @author Administrator
 * @version 1.0
 * @description 专业信息类
 * @date 2023/4/7 0007 17:24
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("tb_profession")
public class Profession {

    @TableId(value = "profession_id",type = IdType.AUTO)
    private Integer professionId;

    @TableField("profession_name")
    private String professionName;

    @TableField("profession_college_id")
    private Integer professionCollegeId;

    @TableField("create_time")
    private Date createTime;

    @TableField("profession_classes")
    private Integer professionClasses;
}
